package oop.day01;

public class StudentTest {
    public static void main(String[] args) {
        //
        Student s1 = new Student();
        s1.name="张三";
        s1.age=18;
        s1.clazz="java1班";
        s1.study();
        s1.sleep();

        Student s2 = new Student();
        s2.age=21;
        s2.name="李百万";
        s2.clazz="网络班";
        s2.study();
        s2.sleep();

        Student s3 = new Student();
        s3.age=22;
        s3.name="王富贵";
        s3.clazz="web";
        s3.study();
        s3.sleep();

        Student s4 = new Student("李白",24,"java1班");
        s4.study();
        s4.sleep();

        Student s5 = new Student("张富有",19);
        s5.clazz="UI";
        s5.sleep();
        s5.study();
    }
}
